# 假设第三方库的静态库文件位于 ./Third/Flute3-Cpp-Wrapper/libflute3wrapper.a
set(FLUTE3_WRAPPER_LIB ${CMAKE_CURRENT_SOURCE_DIR}/Third/Flute3-Cpp-Wrapper/libflute3wrapper.a)


add_library(contest_process
    contest_process.cpp
    STA_interface.cpp
    Route.cpp
    OptimalRegion.cpp
    FinalRegion.cpp
    Move.cpp
    Grids.cpp
    RoutingBoundary.cpp
)

target_link_libraries(contest_process 
        ${FLUTE3_WRAPPER_LIB} 
        contest_dm
)


target_include_directories(contest_process 
    PUBLIC 
        ${CMAKE_CURRENT_SOURCE_DIR}
        ${CMAKE_CURRENT_SOURCE_DIR}/Third/SteinerTree2
        ${CMAKE_CURRENT_SOURCE_DIR}/Third/CoordEncoding
        ${CMAKE_CURRENT_SOURCE_DIR}/Third/Flute3-Cpp-Wrapper
)